<!DOCTYPE html>
<html>

	<head>
		<!--头部公用信息引入-->
		@@include('../../include/metas.html')
		<title>账户充值</title>
		<!--样式引入-->
		@@include('../../include/linkcss2.html')
	</head>

	<body>
		@@include('../../include/back.html')
		<section class="lis-icon">
			<a href="record.html"><i></i></a>
		</section>
		<section id="recharge">
			<div class="warp">
				<h1 class="title">USDT 账户充值</h1>
			</div>
			<section class="ewm">
				<div class="img">

				</div>
				<p>长按保存图片</p>
			</section>
			<section class="link_address">
				<p>sdhfosfosofhsofhsdo</p>
				<p class="ale">长按复制文字</p>
			</section>
			<section class="info">
				<p>
					foshfyr0weuafouweyrowerhwo陪我外聘人员为哦吼无任何污染因为of搜房我囚
				</p>
			</section>

		</section>
		@@include('../../include/linkjs2.html')
		<script type="text/javascript" src="http://cdn.staticfile.org/jquery.qrcode/1.0/jquery.qrcode.min.js"></script>

		<script type="text/javascript">
			var width = window.screen.width / 750 * 220;
			jQuery('.img').qrcode({
				width: width,
				height: width,
				correctLevel: 0,
				text: 'www.baidu.com'
			});

			var myCanvas = document.getElementsByTagName("canvas")[0];
			var img = convertCanvasToImage(myCanvas);
			
			$(".img").html('').append(img);

			// canvas-->image
			function convertCanvasToImage(canvas) {
				//新Image对象,可以理解为DOM;
				var image = new Image();
				//canvas.toDataURL返回的是一串Base64编码的URL,当然,浏览器自己肯定支持
				//指定格式PNG
				image.src = canvas.toDataURL("image/png");
				return image;
			}
		</script>
	</body>

</html>